using System.Windows.Media;


namespace SplashOn_PhoneLib
{
    public class SplashOnColorPicker
    {
        private static SolidColorBrush[] last3Colors = new SolidColorBrush[3];

        static SplashOnColorPicker()
        {
            last3Colors = new SolidColorBrush[3];
            last3Colors[0] = new SolidColorBrush(Color.FromArgb(255, 1, 1, 1));
            last3Colors[1] = new SolidColorBrush(Color.FromArgb(255, 1, 1, 1));
            last3Colors[2] = new SolidColorBrush(Color.FromArgb(255, 1, 1, 1));
        }

        public static void addBrush(SolidColorBrush brush) 
        {
            last3Colors[2] = last3Colors[1];
            last3Colors[1] = last3Colors[0];
            last3Colors[0] = brush;
        }

        public static SolidColorBrush[] getLast3Colors()
        {
            return last3Colors;
        }
    }
}
